﻿Imports System
Imports System.Collections.Generic
Imports System.Text
Namespace DTO
    Public Class Cinfonhanvien
        Private _manv As String = String.Empty
        Private _tennv As String = String.Empty
        Private _diachi As String = String.Empty
        Private _ngaysinh As DateTime = DateTime.Today
        Private _sodienthoai As String = String.Empty
        Private _chucvu As String = String.Empty
        Private _phongban As String = String.Empty
        Private _ngaythamgia As DateTime = DateTime.Today
#Region "constructor"
        Public Sub New()

        End Sub
        Public Sub New(ByVal ngaythamgia As DateTime, ByVal nvid As String, ByVal nvname As String, ByVal idcard As String, ByVal ngaysinh As DateTime, ByVal sodienthoai As String, ByVal chucvu As String, ByVal phongban As String)
            Me._manv = nvid
            Me._tennv = nvname
            Me._diachi = idcard
            Me._ngaysinh = ngaysinh
            Me._sodienthoai = sodienthoai
            Me._phongban = phongban
            Me._chucvu = chucvu
            Me._ngaythamgia = ngaythamgia
        End Sub
#End Region

#Region "properties"

        Public Property manv() As String
            Get
                Return Me._manv
            End Get
            Set(ByVal value As String)
                Me._manv = value
            End Set
        End Property
        Public Property tennv() As String
            Get
                Return Me._tennv
            End Get
            Set(ByVal value As String)
                Me._tennv = value
            End Set
        End Property
        Public Property diachi() As String
            Get
                Return Me._diachi
            End Get
            Set(ByVal value As String)
                Me._diachi = value
            End Set
        End Property
        Public Property ngaysinh() As DateTime
            Get
                Return Me._ngaysinh
            End Get
            Set(ByVal value As DateTime)
                Me._ngaysinh = value
            End Set
        End Property
        Public Property ngaythamgia() As DateTime
            Get
                Return Me._ngaythamgia
            End Get
            Set(ByVal value As DateTime)
                Me._ngaythamgia = value
            End Set
        End Property
        Public Property sodienthoai() As String
            Get
                Return Me._sodienthoai
            End Get
            Set(ByVal value As String)
                Me._sodienthoai = value
            End Set
        End Property
        Public Property chucvu() As String
            Get
                Return Me._chucvu
            End Get
            Set(ByVal value As String)
                Me._chucvu = value
            End Set
        End Property
        Public Property phongban() As String
            Get
                Return Me._phongban
            End Get
            Set(ByVal value As String)
                Me._phongban = value
            End Set
        End Property
#End Region

    End Class
End Namespace

